package com.jt.www.model.param.endorse;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import javax.validation.constraints.NotNull;


@ApiModel(description = "批单参数")
public class EndorseParam {

    @ApiModelProperty(value = "投保单号", required = true)
    @NotNull(message = "投保单号不能为空")
    private String insuranceId;

    @ApiModelProperty(value = "批单类型：2-新增，3-删减，4-替换，6-协议批加，9-新增附加教师，10-删减附加教师", required = true)
    @NotNull(message = "批单类型不能为空")
    private Integer endorType;

    @ApiModelProperty(value = "险种类型：0-实责险（企业），1-实责险（学校），2-校责险（学校），4-云南教职工，10-云南校责，" +
            "13-云南综合，16-山东校责,17-校园食品安全责任保险", required = true)
    @NotNull(message = "险种类型不能为空")
    private Integer policyType;

    @ApiModelProperty(value = "用户编号", required = true)
    @NotNull(message = "用户编号不能为空")
    private String usercode;

    @ApiModelProperty(value = "学制，混合学制时必传，edu_16-一年制，edu_17-二年制...以此类推")
    private String eduSystem;

    public String getInsuranceId() {
        return insuranceId;
    }

    public void setInsuranceId(String insuranceId) {
        this.insuranceId = insuranceId;
    }

    public Integer getEndorType() {
        return endorType;
    }

    public void setEndorType(Integer endorType) {
        this.endorType = endorType;
    }

    public Integer getPolicyType() {
        return policyType;
    }

    public void setPolicyType(Integer policyType) {
        this.policyType = policyType;
    }

    public String getUsercode() {
        return usercode;
    }

    public void setUsercode(String usercode) {
        this.usercode = usercode;
    }

    public String getEduSystem() {
        return eduSystem;
    }

    public void setEduSystem(String eduSystem) {
        this.eduSystem = eduSystem;
    }
}
